<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>模拟B站首页</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
            background-color: #fafafa;
        }

        /* 头部导航栏样式 */
        nav {
            background-color: transparent;
            color: #fff;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        nav ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
            display: flex;
        }

        nav ul li {
            margin-right: 25px;
        }

        nav ul li a {
            color: #fff;
            text-decoration: none;
            font-size: 14px;
        }

        nav ul li a:hover {
            color: #b8b8b8;
        }

        nav.logo {
            display: flex;
            align-items: center;
        }

        nav.logo img {
            height: 30px;
        }

        nav.logo span {
            margin-left: 5px;
            font-size: 24px;
            font-weight: bold;
        }

        /* 搜索框样式 */
      .search-box {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-grow: 1;
        }

      .search-bar {
            background-color: white;
            border: 1px solid white;
            border-radius: 5px;
            padding: 5px 10px;
        }

      .search-bar input {
            background-color: white;
            border: none;
            color: black;
            font-size: 14px;
            width: 300px;
            margin-right: 10px;
        }

      .search-bar input:focus {
            outline: none;
        }

      .search-bar button {
            background-color: transparent;
            border: none;
            color: #b8b8b8;
            cursor: pointer;
        }

        /* 悬停效果 */
      .search-bar:hover {
            background-color: #f8f8f8;
        }

        /* 视频容器样式 */
      .video-container {
            width: 100%;
            max-width: 800px;
            margin: 20px auto;
            position: relative;
        }

        video {
            width: 100%;
        }

      .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: rgba(0, 0, 0, 0.6);
            color: #fff;
            border: none;
            padding: 12px 18px;
            cursor: pointer;
            border-radius: 50%;
        }

        /* 视频描述样式 */
      .description {
            padding: 10px;
            text-align: left;
            color: #333;
        }

        /* 视频控制按钮样式 */
      .controls button {
            background-color: transparent;
            border: none;
            cursor: pointer;
            padding: 5px;
        }

      .like-icon {
            color: #f25d8e;
        }

      .comment-icon {
            color: #66c5f0;
        }

      .share-icon {
            color: #85e068;
        }

        /* 视频列表样式 */
      .video-list {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-gap: 20px;
            margin: 20px;
        }

      .video-list-item {
            position: relative;
        }

      .video-list-item img {
            width: 100%;
        }

      .video-list-item-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            flex-direction: column;
            justify-content: center;
            alignItems: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

      .video-list-item:hover.video-list-item-overlay {
            opacity: 1;
        }

      .video-list-item-title {
            color: #fff;
            font-size: 16px;
            margin-bottom: 5px;
        }

      .video-list-item-uploader {
            color: #b8b8b8;
            font-size: 12px;
        }
    </style>
</head>

<body>
    <!-- 头部导航栏 -->
    <nav>
        <div class="logo">
            <img src="bilibili-logo.png" alt="B站logo">
            <span>Bilibili</span>
        </div>
        <div class="search-box">
            <div class="search-bar">
                <input type="text" placeholder="搜索">
                <button>搜索</button>
            </div>
        </div>
        <ul>
            <li><a href="#">首页</a></li>
            <li><a href="#">番剧</a></li>
            <li><a href="#">直播</a></li>
            <li><a href="#">游戏</a></li>
            <li><a href="#">会员购</a></li>
        </ul>
        <ul>
            <li><a href="#">漫画</a></li>
            <li><a href="#">电竞</a></li>
            <li><a href="#">动态</a></li>
            <li><a href="#">我的</a></li>
        </ul>
    </nav>

    <img src="DM_20241001154720_001.png" alt="庆祝中华人民共和国成立75周年" style="width: 100%; max-width: 1000px; margin: 0 auto;position: absolute;top: auto;">
</body>

</html>